package com.olympus.hermes.product.domain;


import com.olympus.hermes.common.support.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Mickey
 * @since 2021/1/12
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "hermes_product_category")
public class Category extends AbstractEntity {

    private String name;

    private Long parentId;

    private Integer level;

    private Integer showStatus;

    private Integer sort;

    private String icon;

    private String productUnit;

    private Integer productCount;

}
